<?php

// values, dates, guess, Result

return [
    [
        [
            -10000,
            [
                2750,
                4250,
                3250,
                2750,
                46000,
            ],
        ],
        [
            '2008-01-01',
            [
                '2008-03-01',
                '2008-10-30',
                '2009-02-15',
                '2009-04-01',
            ],
        ],
        0.10000000000000001,
        0.373362535,
    ],
    [
        [
            -100,
            [
                20,
                40,
                25,
            ],
        ],
        [
            '2010-01-01',
            [
                '2010-04-01',
                '2010-10-01',
                '2011-02-01',
            ],
        ],
        -0.3024,
    ],
    [
        [
            -100,
            [
                20,
                40,
                25,
                8,
                15,
            ],
        ],
        [
            '2010-01-01',
            [
                '2010-04-01',
                '2010-10-01',
                '2011-02-01',
                '2011-03-01',
                '2011-06-01',
            ],
        ],
        0.20949999999999999,
    ],
];
